package com.botao.cms.utils;


import org.springframework.util.DigestUtils;

import java.util.Base64;


/**
 * @author 星时代曹波涛
 */
public class Md5Util {
    final static String salt = "#$DSF$#@DF$%#";

    public static String encodeByMd5(String str) {

        return DigestUtils.md5DigestAsHex((str + salt).getBytes());
    }
}
